package com.qf.service;

import com.qf.domain.PageBean;
import com.qf.domain.User;

import java.util.List;

/**
 * @author YDW
 * projectName:shopping
 * time:2022/4/18 17:26
 * description:用户业务层接口
 */
public interface UserService {

    boolean checkUsername(String username);

    boolean register(String username, String password, String email, String gender);

    User login(String username, String password);

    List<User> findUserByUsername(String username);
}
